package club.msecret.mblog.mapper;

import club.msecret.mblog.entity.Archive;
import club.msecret.mblog.entity.Article;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;


public interface ArchiveMapper{

    List<Archive> findAllYears();

    List<Article> findArticlesByYear(int year);

}
